package com.example.test.mapper;

import com.example.test.bean.domain.ShopUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ShopUserMapper {
    ShopUser findByMobile(@Param("mobile") String mobile);

    void insertUser(ShopUser user);

    ShopUser findById(@Param("id") Integer id);

    void updateUser(ShopUser user);
}
